package com.example.demo.mapper;

import com.example.demo.entity.Route;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface RouteMapper {
    int insertRoute(Route route);

    List<Route> selectRoutes(Route route);

    Map selectStopsByCheciId(Integer checiId);

    int updateRoute(Route route);
}
